package club.easin.enums;

public enum Exenum {
    NONAME("0001","用户名不能为空")
    ,NOPASSWORD("0002","用户密码不能为空")
    ,LOGIN_ERROR("0003","用户名或密码错误")
    ,TRANSACTION_ERRPR("0004","事务异常")
    ,LOGIN_FAILD("01","登录失败")
    ,SUCCESS("0","成功")
    ,SYS_ERROE("02","系统错误")
    ,LOGIN_AGAIN("03","请重新登陆")
    ,moile_second("04","改手机号已被占用")
    ,OPERATE_FILE("05","操作失败")
    ,ID_ISNULL("06","主键为空")
    ,USER_NOTEXIT("07","用户不存在")
    ,USER_ISNULL("08","用户不能为空")
    ,ROLE_ISNULL("09","角色不能为空")
    ,ROLE_ISUSE("10","该角色正在使用不能删除")
    ,MENU_ISUSE("11","该菜单正在使用不能删除")
    ,MENU_HASCHILD("12","请先删除子菜单")
    ,IS_CHECK("13","此信息已审核")
    ,HOUSEHASINMATE("14","请先删除住户");
    private String code;
    private String message;
    Exenum(String code,String message){
        this.code=code;
        this.message=message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
